<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<div class="modal inmodal in" id="express-detail-modal" th:fragment="express" tabindex="-1" role="dialog"
     aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true">×</span><span class="sr-only">关闭</span>
                </button>
                <h6 class="modal-title">包裹明细</h6>
            </div>
            <small class="font-bold">
                <div class="modal-body">
                    <form class="form-horizontal" id="order-express-form">
                        <fieldset>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">订单号：</label>

                                <div class="col-sm-3">
                                    <input type="text" th:value="${orderDetail.orderNo}" class="form-control" name="orderNo" readonly/>
                                </div>
                                <label class="col-sm-2 control-label">承运快递：</label>
                                <div class="col-sm-2">
                                    <select class="form-control" name="expressCode">
                                        <option th:each="ex_goods,goodsStat:${expressList}"
                                                th:value="${ex_goods.companyCode}"
                                                th:text="${ex_goods.companyName}"></option>
                                    </select>
                                </div>
                                <div class="col-sm-3">
                                    <input type="text" placeholder="快递单号" class="form-control" name="trackingNo" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">企业名称：</label>

                                <div class="col-sm-4">
                                    <input type="text" value="企业名称"  class="form-control" th:value="${orderDetail.defaultAddress.companyName}" name="companyName" />
                                </div>
                                <label class="col-sm-2 control-label">联系人：</label>

                                <div class="col-sm-4">
                                    <input type="text"   class="form-control" th:value="${orderDetail.defaultAddress.contact}"  name="contact" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系电话：</label>

                                <div class="col-sm-4">
                                    <input type="text"  class="form-control" th:value="${orderDetail.defaultAddress.contactTel}"   name="contactTel"/>
                                </div>
                                <label class="col-sm-2 control-label">联系地址：</label>

                                <div class="col-sm-4">
                                    <input type="text" value="联系地址" class="form-control" th:value="${orderDetail.defaultAddress.preAddress+orderDetail.defaultAddress.address}"  name="address" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">商品名称：</label>
                                <div class="col-sm-4">
                                    <select class="form-control" name="goodsId">
                                        <option th:each="goods,goodsStat:${orderDetail.orderGoodsDtoList}"
                                                th:value="${goods.goodsId}"
                                                th:text="${goods.goodsTitle}"></option>
                                    </select>
                                </div>
                                <div class="col-sm-4">
                                    <input type="text" placeholder="SN(序列号)" class="form-control" name="serialNumber" />
                                </div>
                                <div class="col-sm-2">
                                    <input type="hidden" name="id" id="expressId"/>
                                    <input id="express_source" name="source" type="hidden" value="10">
                                    <button class="btn btn-w-m btn-primary" type="button" id="btn-save-express">保&nbsp;&nbsp;&nbsp;存</button>
                                </div>

                            </div>

                        <!--    <div class="form-group">
                                <div class="col-sm-4  col-sm-offset-2">
                                    <button class="btn btn-w-m btn-default" type="button">取消</button>
                                    <button class="btn btn-w-m btn-primary" type="button" id="saveNewBill">保存
                                    </button>
                                </div>
                            </div>-->

                        </fieldset>
                    </form>

                    <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline" role="grid">
                        <table class="table table-striped table-bordered table-hover dataTables-example dataTable"
                               id="DataTables_express_goodlist" aria-describedby="DataTables_Table_0_info">
                            <thead>
                            <tr role="row">
                                <th class="sorting_desc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1"
                                    colspan="1" aria-label="企业名称：激活排序列升序" style="width: 200px;">
                                    快递单号
                                </th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1"
                                    colspan="1" aria-label="企业电话：激活排序列升序" style="width: 200px;">商品名称
                                </th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1"
                                    colspan="1" aria-label="企业法人：激活排序列升序" style="width: 200px;">SN(序列号)
                                </th>
                                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1"
                                    colspan="1" aria-label="" style="width: 100px;">操作
                                </th>
                            </tr>
                            </thead>
                            <tbody>

                            </tbody>
                        </table>
                    </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger" data-dismiss="modal">关闭</button>
                </div>
            </small>
        </div>
        <small class="font-bold">
        </small>
    </div>
    <small class="font-bold"></small>
</div>
</body>
</html>">
